package cn.antank.sdk.req;

import java.io.Serializable;

import org.apache.commons.lang3.StringUtils;

public class SeatDetailDTO implements Serializable {

	private static final long serialVersionUID = -7788681268540618791L;
	/**
	 * 场次区域ID
	 */
	private Long venueAreaId;
	/**
	 * 座位行
	 */
	private String rowNo;
	/**
	 * 座位列
	 */
	private String colNo;
	//一票一证需要填写实名
	/**
	 * 身份证号(明文）
	 */
	private String certificateStr;
	/**
	 * 证件类型
	 */
	private String certificateType;
	/**
	 * 姓名
	 */
	private String realname;
	/**
	 * 票价（用于验证)
	 */
	private Double ticketPrice;
	
	/**
	 * 座位标识
	 * @return
	 */
	public String getFullKey() {
		return StringUtils.join(this.venueAreaId,":", this.rowNo, ":", this.colNo);
	}

	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public String getCertificateType() {
		return certificateType;
	}

	public void setCertificateType(String certificateType) {
		this.certificateType = certificateType;
	}

	public String getCertificateStr() {
		return certificateStr;
	}

	public void setCertificateStr(String certificateStr) {
		this.certificateStr = certificateStr;
	}

	public String getRowNo() {
		return rowNo;
	}

	public void setRowNo(String rowNo) {
		this.rowNo = rowNo;
	}

	public String getColNo() {
		return colNo;
	}

	public void setColNo(String colNo) {
		this.colNo = colNo;
	}

	public String getLabel() {
		return StringUtils.join(this.rowNo, ":", this.colNo);
	}

	public Long getVenueAreaId() {
		return venueAreaId;
	}

	public void setVenueAreaId(Long venueAreaId) {
		this.venueAreaId = venueAreaId;
	}

	public Double getTicketPrice() {
		return ticketPrice;
	}

	public void setTicketPrice(Double ticketPrice) {
		this.ticketPrice = ticketPrice;
	}
}
